import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /client/contract/{id}
 */
export function getClientContractById(params: GetClientContractByIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/client/contract/${params.id}`, config);
}

export interface GetClientContractByIdParams {
    id: number;
}
